from nicegui import ui

class PageView:
    def __init__(self,footer:ui.footer) -> None:
        with ui.page_sticky(position='bottom-right', x_offset=20, y_offset=20):
            ui.button(on_click=footer.toggle, icon='contact_support').props('fab')